<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<%@ include file="/include/include.jsp" %>
<style type="text/css">
<!--
-->
</style>
</head>
<body>
	
	<%@ include file="/include/header.jsp" %>

	<%@ include file="/include/menu.jsp" %>
	
	<div id="mainContent">
		<h2><a href="${ctx}/${menu.url}">${menu.description}</a>&nbsp;-&nbsp;<a href="${ctx}/${empty currViewBarSubMenu_ ? submenu.url : currViewBarSubMenu_.url}">${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}</a></h2>
		
		<div class="tool-bar">
			 <div  href="${ctx}/system/wtime/add" class="modal-window modal-link">添加用户</div>  
		</div>
		
		<div class="sarch-bar" id="searchDiv">
		</div>
		
		<div class="grid-list">
			<table class="grid" cellspacing="0">
				<thead>
					<tr>
						<td>部门</td>			
						<td>上班时间</td>
						<td>下班时间</td>
						<td>月出勤天数</td>
						<td>月工作时长下限</td>
						<td>月有效签到次数下限</td>
						<td>操作</td>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="map" items="${mapDepartmentlist}" varStatus="status">
						<tr onmouseover="this.style.backgroundColor= '#A0CFEC'" onmouseout="this.style.backgroundColor= '#ffffff'">
						    <td>${map.department }</td>
							<td>${map.uinfo.startTime }</td>
							<td>${map.uinfo.endTime }</td>
							<td>${map.uinfo.monthWork }</td>
							<td>${map.uinfo.monthLimitTime }</td>
							<td>${map.uinfo.effectTimes }</td>
							<td class="tool-bar-tr">
								<a href="javascript:doDelteNormalValidate('您确实要删除该记录吗？删除后将不能恢复,请确认!','对不起，该对象与其他业务对象有关联关系，不能删除!','Wtime','id',${map.uinfo.id},'${ctx}/system/wtime/list')">
									<img border="0" src="${ctx}/static/images/delete.png"   alt="删除业务对象" />
								</a>
								<div title="${menu.description} - ${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description} - 修改${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}"  href="${ctx}/system/wtime/${map.uinfo.id}/edit" class="modal-window modal-link">修改</div>
							</td>
						</tr>
					</c:forEach>
					
					
				</tbody>
			</table>
			<t:page action="${ctx}/system/userinfo/list"></t:page>
		</div>
	</div>
	
	<%@ include file="/include/script.jsp" %>

</body>

</html> 